package com.joy.common.constant;

import com.google.common.collect.Sets;

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @ClassName: PermissionCons
 * @Description: 权限相关常量
 * @Author: yjzhao
 * @Create: 2019-09-23  21:29
 **/
public class PermissionCons {
    /** 登录既有权限 Set */
    public final static Set<String> UN_PERMISSION_SET = Sets.newHashSet();
    static {
        UN_PERMISSION_SET.add("menu:main");
        UN_PERMISSION_SET.add("menu:login");
        UN_PERMISSION_SET.add("login:*");
        UN_PERMISSION_SET.add("admin:common-cd:findByChildCd");
        UN_PERMISSION_SET.add("admin:common-cd:findListByParentCd");
        UN_PERMISSION_SET.add("file:*");
        UN_PERMISSION_SET.add("user:profile:*");
    }

}
